Skip to content

Conversation

@gram-bot
Copy link
Contributor

@gram-bot gram-bot bot commented Dec 8, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

function-runners@0.3.0

Minor Changes

  • 08ce250: Introducing support for large Gram Functions.

    Previously, Gram Functions could only be around 700KiB zipped which was adequate for many use cases but was severely limiting for many others. One example is ChatGPT Apps which can be full fledged React applications with images, CSS and JS assets embedded alongside an MCP server and all running in a Gram Function. Many such apps may not fit into this constrained size. Large Gram Functions addresses this limitation by allowing larger zip files to be deployed with the help of Tigris, an S3-compatible object store that integrates nicely with Fly.io - where we deploy/run Gram Functions.

    During the deployment phase on Gram, we detect if a Gram Function's assets exceed the size limitation and, instead of attaching them in the fly.io machine config directly, we upload them to Tigris and mount a lazy reference to them into machines.

    When a machine boots up to serve a tool call (or resource read), it runs a bootstrap process and detects the lazy file representing the code asset. It then makes a call to the Gram API to get a pre-signed URL to the asset from Tigris and downloads it directly from there. Once done, it continues initialization as normal and handles the tool call.

    There is some overhead in this process compared to directly mounting small functions into machines but for a 1.5MiB file, manual testing indicated that this is still a very snappy process overall with very acceptable overhead (<50ms). In upcoming work, we'll export measurements so users can observe this.

server@0.14.0

Minor Changes

  • 08ce250: Introducing support for large Gram Functions.

    Previously, Gram Functions could only be around 700KiB zipped which was adequate for many use cases but was severely limiting for many others. One example is ChatGPT Apps which can be full fledged React applications with images, CSS and JS assets embedded alongside an MCP server and all running in a Gram Function. Many such apps may not fit into this constrained size. Large Gram Functions addresses this limitation by allowing larger zip files to be deployed with the help of Tigris, an S3-compatible object store that integrates nicely with Fly.io - where we deploy/run Gram Functions.

    During the deployment phase on Gram, we detect if a Gram Function's assets exceed the size limitation and, instead of attaching them in the fly.io machine config directly, we upload them to Tigris and mount a lazy reference to them into machines.

    When a machine boots up to serve a tool call (or resource read), it runs a bootstrap process and detects the lazy file representing the code asset. It then makes a call to the Gram API to get a pre-signed URL to the asset from Tigris and downloads it directly from there. Once done, it continues initialization as normal and handles the tool call.

    There is some overhead in this process compared to directly mounting small functions into machines but for a 1.5MiB file, manual testing indicated that this is still a very snappy process overall with very acceptable overhead (<50ms). In upcoming work, we'll export measurements so users can observe this.

Patch Changes

  • 1538ac3: feat: chat scoped key access to mcp server
  • 1af4e7f: fix: ensure system env compilation is case sensitive
  • ea2f173: ensure function oauth is respected in install page
  • 90a3b7b: Allow instances.get to return mcp server representations of a toolset. Remove unneeded environment for instances get
  • a062fc7: fix: remove vercel check form cors
  • 0818c9a: feat: reading toolset endpointa available to chat scoped auth
  • c8a0376: - fix SSE streaming response truncation due to chunk boundary misalignment
    • addToolResult() was called following tool execution, the AI SDK v5 wasn't automatically triggering a follow-up LLM request with the tool results. This is a known limitation with custom transports (addToolResult not trigger vercel/ai#9178).
  • c039dc0: Updated the CORS middleware to include the User-Agent header in the Access-Control-Allow-Headers response. This allows clients to send the User-Agent header in cross-origin requests which is useful for debugging and analytics purposes.

dashboard@0.22.1

Patch Changes

  • 013d15d: Restore chat history loading in playground after v5 AI SDK upgrade
  • 2667ecf: Fixed radix warning about Dialog.Content not having a Dialog.Title child.
  • 90a3b7b: Allow instances.get to return mcp server representations of a toolset. Remove unneeded environment for instances get
  • c8a0376: - fix SSE streaming response truncation due to chunk boundary misalignment
    • addToolResult() was called following tool execution, the AI SDK v5 wasn't automatically triggering a follow-up LLM request with the tool results. This is a known limitation with custom transports (addToolResult not trigger vercel/ai#9178).
  • 1a63676: Replace Shiki with Monaco Editor for viewing large inline specs
  • e9988d8: Ensure stable QueryClient is used for lifetime of web app especially during
    development mode hot reloads.

@gram-bot gram-bot bot requested a review from a team as a code owner December 8, 2025 13:57
@vercel
Copy link

vercel bot commented Dec 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
gram Ready Ready Preview Comment Dec 10, 2025 4:28pm
gram-docs-redirect Ready Ready Preview Comment Dec 10, 2025 4:28pm
gram-landing-redirect Ready Ready Preview Comment Dec 10, 2025 4:28pm

@github-actions github-actions bot force-pushed the changeset-release/main branch from 5b9aed9 to 6016d16 Compare December 8, 2025 14:38
@github-actions github-actions bot force-pushed the changeset-release/main branch from 6016d16 to d25ba39 Compare December 8, 2025 14:59
@github-actions github-actions bot force-pushed the changeset-release/main branch from d25ba39 to 30621b8 Compare December 8, 2025 15:18
@github-actions github-actions bot force-pushed the changeset-release/main branch from 30621b8 to 2b8a03e Compare December 8, 2025 15:28
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2b8a03e to 042bbbb Compare December 8, 2025 15:39
@github-actions github-actions bot force-pushed the changeset-release/main branch from 042bbbb to 1b71f55 Compare December 8, 2025 16:57
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1b71f55 to c4809ff Compare December 8, 2025 17:59
@github-actions github-actions bot force-pushed the changeset-release/main branch from 834d7fa to 5d53b35 Compare December 10, 2025 00:47
@github-actions github-actions bot force-pushed the changeset-release/main branch from 5d53b35 to 8f4f919 Compare December 10, 2025 11:35
@github-actions github-actions bot force-pushed the changeset-release/main branch from 8f4f919 to 3ddb241 Compare December 10, 2025 11:37
@github-actions github-actions bot force-pushed the changeset-release/main branch from 3ddb241 to 6aeedaf Compare December 10, 2025 12:52
@github-actions github-actions bot force-pushed the changeset-release/main branch from 6aeedaf to 94bbfd9 Compare December 10, 2025 14:11
@github-actions github-actions bot force-pushed the changeset-release/main branch from 94bbfd9 to d6f664b Compare December 10, 2025 14:25
Releases:
  server@0.14.0
  dashboard@0.22.1
  function-runners@0.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant